/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.test22.service;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.test22.entity.TestData22;
import com.thinkgem.jeesite.modules.test22.dao.TestData22Dao;

/**
 * 单表生成-hjjService
 * @author hjj
 * @version 2016-12-29
 */
@Service
@Transactional(readOnly = true)
public class TestData22Service extends CrudService<TestData22Dao, TestData22> {

	public TestData22 get(String id) {
		return super.get(id);
	}
	
	public List<TestData22> findList(TestData22 testData) {
		List<TestData22> list = new ArrayList<TestData22>();
		return list;
//		return super.findList(testData);
	}
	
	public Page<TestData22> findPage(Page<TestData22> page, TestData22 testData) {
		return super.findPage(page, testData);
	}
	
	@Transactional(readOnly = false)
	public void save(TestData22 testData) {
		super.save(testData);
	}
	
	@Transactional(readOnly = false)
	public void delete(TestData22 testData) {
		super.delete(testData);
	}
	
}